package com.ljw.webserviceserver.demo;

/**
 * @Author LiuJunWen
 * @Date 2020/4/28 20:41
 */

import com.ljw.webserviceserver.demo.entity.UserInfo;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.ArrayList;

@WebService
public interface UserWebService {
    @WebMethod
    String getName(@WebParam(name = "userId") String userId);

    @WebMethod
    UserInfo getUser(String userId);

    @WebMethod
    ArrayList<UserInfo> getAlLUser();
}
